﻿using System;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x0200031F RID: 799
	public class TOffsetClause : TParseTreeNode
	{
		// Token: 0x06001CB6 RID: 7350 RVA: 0x003321F3 File Offset: 0x003303F3
		public void setRowRowsToken(TSourceToken st)
		{
			if (st.ToString().Equals("row", StringComparison.CurrentCultureIgnoreCase))
			{
				this._rowToken = st;
				return;
			}
			this._rowsToken = st;
		}

		// Token: 0x170006A6 RID: 1702
		// (get) Token: 0x06001CB7 RID: 7351 RVA: 0x00332217 File Offset: 0x00330417
		// (set) Token: 0x06001CB8 RID: 7352 RVA: 0x0033221F File Offset: 0x0033041F
		public TSourceToken rowToken
		{
			get
			{
				return this._rowToken;
			}
			set
			{
				this._rowToken = value;
			}
		}

		// Token: 0x170006A7 RID: 1703
		// (get) Token: 0x06001CB9 RID: 7353 RVA: 0x00332228 File Offset: 0x00330428
		// (set) Token: 0x06001CBA RID: 7354 RVA: 0x00332230 File Offset: 0x00330430
		public TSourceToken rowsToken
		{
			get
			{
				return this._rowsToken;
			}
			set
			{
				this._rowsToken = value;
			}
		}

		// Token: 0x170006A8 RID: 1704
		// (get) Token: 0x06001CBB RID: 7355 RVA: 0x00332239 File Offset: 0x00330439
		// (set) Token: 0x06001CBC RID: 7356 RVA: 0x00332241 File Offset: 0x00330441
		public virtual TExpression SelectOffsetValue
		{
			get
			{
				return this.selectOffsetValue;
			}
			set
			{
				this.selectOffsetValue = value;
			}
		}

		// Token: 0x06001CBD RID: 7357 RVA: 0x0033224A File Offset: 0x0033044A
		public override void init(object arg1)
		{
			this.selectOffsetValue = (TExpression)arg1;
		}

		// Token: 0x06001CBE RID: 7358 RVA: 0x00332258 File Offset: 0x00330458
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06001CBF RID: 7359 RVA: 0x00332268 File Offset: 0x00330468
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001A7E RID: 6782
		private TSourceToken _rowToken;

		// Token: 0x04001A7F RID: 6783
		private TSourceToken _rowsToken;

		// Token: 0x04001A80 RID: 6784
		private TExpression selectOffsetValue;
	}
}
